package com.xxxt.entity;
//评论(吐槽)实体类
public class Comment {
	private String commentId;//评论id
	
	private String content;//评论内容
	
	private String commitTime;//评论时间
	
	private Student student;//与学生关联对象
	
	private Company company;//与公司关联对象
	
	
	public Comment(String commentId, String content, String commitTime, Student student, Company company) {
		super();
		this.commentId = commentId;
		this.content = content;
		this.commitTime = commitTime;
		this.student = student;
		this.company = company;
	}
	public Comment( String content, String commitTime, Student student, Company company) {
		super();
		this.content = content;
		this.commitTime = commitTime;
		this.student = student;
		this.company = company;
	}

	public Comment() {}
	
	public String getCommentId() {
		return commentId;
	}
	public void setCommentId(String commentId) {
		this.commentId = commentId;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Student getStudent() {
		return student;
	}
	public void setStudent(Student student) {
		this.student = student;
	}
	public Company getCompany() {
		return company;
	}
	public void setCompany(Company company) {
		this.company = company;
	}
	
	public String getCommitTime() {
		return commitTime;
	}
	public void setCommitTime(String commitTime) {
		this.commitTime = commitTime;
	}
	@Override
	public String toString() {
		return "Comment [commentId=" + commentId + ", content=" + content + ", commitTime=" + commitTime + ", student="
				+ student + ", company=" + company + "]";
	}
	
	
}
